package models

import "gorm.io/gorm"

type User struct {
	Name     string `json:"name"`
	Password string `json:"password"`
	gorm.Model
}
type UserRole struct {
	Uid int `json:"uid"`
	Rid int `json:"rid"`
	gorm.Model
}

type Role struct {
	RoleName string `json:"role_name"`
	gorm.Model
}
type RoleNode struct {
	Rid int `json:"rid"`
	Nid int `json:"nid"`
	gorm.Model
}
type Node struct {
	NodeName string `json:"node_name"`
	gorm.Model
}
type Order struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
	gorm.Model
}
type Car struct {
	Id      int    `json:"id"`
	CarName string `json:"car_name"`
	gorm.Model
}
